import { IFeidaoAiNodejsComponent } from '@dfeidao/atom-nodejs/interfaces';
import nodejs from '@dfeidao/atom-nodejs/msg/nodejs';
import render from '@dfeidao/atom-nodejs/render/render';
import p001 from './p001';

export default async function na001(fd: IFeidaoAiNodejsComponent) {
	// 初始页
	const res = await nodejs(fd.data.actionid, fd.data.sessionid, 'risk-point/zj-000004/s001', {
		filter: {
			risk_po_type_no: '',
			risk_po_type_name: '',
			risk_level: ''
		}
	});
	console.log('na001', res)
	render(fd.data.node, res, p001, 'p001');
}
